#ifndef _DECODER_THREAD_H_
#define _DECODER_THREAD_H_


#include <cstdint>
#include <cstddef>


namespace DecoderThread
{
    void *semCreate(int value);
    void semPost(void *sem);
    void semWait(void *sem);
    void semDestroy(void *sem);

    void *threadCreate(void *function, void *arg, size_t stackSize = 0);
    void threadJoin(void *thread);
    void threadExit(void *thread);

    void mSleep(uint32_t ms);
}




#endif
